<script src="/static/js/layer/layer.js"></script>
<script src="/static/js/amazeui.page.js"></script>
<script>
    //弹出一个iframe层
    $('.cost-editor').on('click', function(){
        layer.open({
            type: 2,
            title: '新增费用记录',
            maxmin: true,
            shadeClose: true, //点击遮罩关闭层
            area : ['800px' , '520px'],
            content: '/costs/cost_form',
        });
    });
</script>
